package com.tju.resource.business.sys;

import com.tju.resource.result.Result;
import com.tju.resource.tool.tool.ClientParameters;

import javax.servlet.http.HttpServletResponse;

/**
 * 版本业务接口
 *
 * @Author CLS
 * @Date 2022/3/29 14:18
 */
public interface SysVersionsService {

    /**
     * Check whether the current version is the latest version
     *
     * @param parameters
     * @return
     */
    Result<Object> getUpdInformation(ClientParameters parameters);

    /**
     * Get the latest version of the app
     * @return
     */
    void  download(HttpServletResponse res);
}
